<%-- 
    Document   : restaurantInfo
    Created on : Nov 10, 2010, 3:18:18 AM
    Author     : hung-shengliao
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <div> <font size='10'>Restaurant:<%= session.getAttribute( "restName" )%></font></div>
        <div> Location:<%= session.getAttribute( "restLoc" )%></div>
        <div> website: <%= session.getAttribute( "restEmail" )%></div>
        <img id='restaurantPic' src='<%= session.getAttribute( "restPic")%>'>
        <div><%= session.getAttribute( "restDesc")%></div>
        <div><%= session.getAttribute("FBid") %></div>

        <%
            String time = request.getParameter( "time" );
            if (Integer.parseInt(time) == 1) {
                out.print("You have reserves breatfast successfully");
            }
            else if (Integer.parseInt(time) == 2) {
                out.print("You have reserves lunch successfully");
            }
            else if (Integer.parseInt(time) == 3) {
                out.print("You have reserves dinner successfully");
            }
         %>
         <div>

         </div>
    </body>
</html>
